package com.androidviewx.badge;


import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class MessageModel {
    private String title;
    
    private String detail;
    private int newMsgCount;

    public String getTitle() {
        return this.title;
    }

    public void setTitle( String var1) {
        this.title = var1;
    }

    
    public String getDetail() {
        return this.detail;
    }

    public void setDetail( String var1) {
        this.detail = var1;
    }

    public int getNewMsgCount() {
        return this.newMsgCount;
    }

    public void setNewMsgCount(int var1) {
        this.newMsgCount = var1;
    }

    public MessageModel( String title,  String detail, int newMsgCount) {
        super();
        this.title = title;
        this.detail = detail;
        this.newMsgCount = newMsgCount;
    }
    public static List getTestData() {
        List messages = (List)(new ArrayList());
        Random random = new Random();
        int i = 0;

        for(byte var4 = 29; i <= var4; ++i) {
            messages.add(new MessageModel("title" + i, "detail" + i, random.nextInt(150)));
        }

        return messages;
    }
}

